package com.tmpt.dao.generic;

import com.googlecode.genericdao.dao.hibernate.original.GenericDAOImpl;
import org.hibernate.SessionFactory;

import javax.annotation.Resource;
import java.io.Serializable;

/**
 * Created by lvgang on 2017/1/4.
 */
public class BizDao<T, ID extends Serializable> extends GenericDAOImpl<T, ID> {
    //@Resource(name = "bizSessionFactory")
    @Resource(name = "sessionFactory")
    public void setSessionFactory(SessionFactory sessionFactory) {
        super.setSessionFactory(sessionFactory);
    }
}
